package com.youlai.boot.weekPlan.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.weekPlan.model.entity.UserWeekPlan;
import com.youlai.boot.weekPlan.model.form.UserWeekPlanForm;

/**
 * 用户每周运动时常计划对象转换器
 *
 * @author cuisheng
 * @since 2025-04-01 10:39
 */
@Mapper(componentModel = "spring")
public interface UserWeekPlanConverter{

    UserWeekPlanForm toForm(UserWeekPlan entity);

    UserWeekPlan toEntity(UserWeekPlanForm formData);
}